<!doctype html>
<html>
    
    <head>
        <meta charset="utf-8">
        <title>
            体检报告
        </title>
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
        name="viewport" />
        <meta content="no" name="apple-mobile-web-app-capable" />
        <meta content="black" name="apple-mobile-web-app-status-bar-style" />
        <meta content="telephone=no" name="format-detection" />
        <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css">
        <script src="__PUBLIC__/js/jquery.js" type="text/javascript">
        </script>
        <script src="__PUBLIC__/js/jquery-add-yu.js" type="text/javascript">
        </script>
    </head>
    
    <body>
        <div class="header">
        </div>
        <header>
            <b>
            </b>
            <strong class="s0{$user['sex']}">
                {$user['name']}<empty name="user.age">
                                    
                                    <else />
                                    |{$user['age']}岁
                                </empty>
            </strong>
            <span>
                异常项
            </span>
        </header>
        <!--器官详情-->
        
        <volist name="name" id="vo" key="idx">
            <assign name="itemGroup" value="$items[$idx - 1]" />
            <foreach name="itemGroup" item="voo" key="offsets">
                <php>
                    $classCss = "with-url";
                    if(($url = ReportItemModel::getUrl($voo['itemname'],$_GET["reportid"],$voo["result"])) === false){
                        $classCss = "no-url";
                    }elseif($url ===true){
                        $url = "index.php?m=Index&a=more&reportid=".$reportid."&organid=".$idx."&itemid=".$i;
                    }else{
                    }

                </php>
                <if condition="$voo.type eq 2">
                    <div class="or-li {$classCss}" meurl=
                            '{$url}'>
                        <span class="l">
                            <strong class="strong">
                                {$voo.itemname}
                            </strong>
                            <b>
                                正常值（{$voo.normal}）
                            </b>
                        </span>
                        <span class="r rr">
                            <p class="w1">
                                <span class="x2">
                                    <b style="left:73%;">
                                        {$voo.result}
                                        <br>
                                        <br>
                                        <br>
                                        高
                                    </b>
                                </span>
                                <!-- 30/(41-0)=x -->
                            </p>
                        </span>
                    </div>
                </if>
                <if condition="$voo.type eq 4">
                    <div class="or-li {$classCss}" meurl=
                            '{$url}'>
                        <span class="l">
                            <strong class="strong">
                                {$voo.itemname}
                            </strong>
                            <b>
                                正常值（{$voo.normal}）
                            </b>
                        </span>
                        <span class="r rr">
                            <p class="w2">
                                <span class="x3">
                                    {$voo.result}
                                    <br>
                                    <br>
                                    <br>
                                    低
                                </span>
                            </p>
                        </span>
                    </div>
                </if>

                <if condition="$voo.type eq 5">

                    <div class="or-li {$classCss}" meurl=
                            '{$url}'>
                        <span class="l">
                            <strong class="strong">
                                {$voo.itemname}
                            </strong>
                            <b>
                              
                                正常值（{$voo.normal}）
                            </b>
                        </span>
                        <span class="r rr">
                            <p class="w2">
                                <span class="x2">

                                    {$voo.result}
                                    <br>
                                    <br>
                                    <br>
                                    高
                                </span>
                            </p>
                        </span>
                    </div>
                </if>
                <if condition="$voo.type eq 7">
                    <if condition="$voo.itemname neq '小结'">
                    <div class="or-li {$classCss}" meurl=
                            '{$url}' style="height: 40px;">
                        <span class="l">
                            <strong class="strong">
                             {$voo.itemname}
                            </strong>
                            <b>
                                <empty name="voo.normal">
                                    {$voo.unit}
                                    <else />
                                    {$voo.normal}
                                </empty>
                            </b>
                        </span>
                        <span class="r rr">
                            <span class="spa2">
                                {$voo.result|substr=0,50}

                            </span>
                        </div>
                    </if>
                </if>
            </foreach>
        </volist>
    </body>
    
</html>
